![]() | ![]() | ![]() | ![]() |
In SAS® Merchandise Planning, the BatchJobLoader script might fail with the following error in the mmx.log:
mmx.batchproc.server ERROR YYYY-MM-DD HH:MM:SS,MMM [main]: Unable to load objects from XML javax.xml.bind.UnmarshalException: unexpected element (uri:"http://sas.com/framework/coe/server/xml/dto", local:"BatchJobs"). Expected elements are > {http://merchplan.retail.sas.com/framework/coe/server/xml/jaxb/dto/batchjob}BatchJobs> at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:642) at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:254) at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:249) at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:116) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext$DefaultRootLoader.childElement(UnmarshallingContext.java:1049) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:478) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:459) at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:148) ...
The error is generated because the batch job definition examples in the installation documentation and the sample.xml files have an incorrect BatchJobs xmlns value. BatchJobs xmlns="http://sas.com/framework/coe/server/xml/dto" should be changed to BatchJobs xmlns="http://merchplan.retail.sas.com/framework/coe/server/xml/jaxb/dto/batchjob".
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Merchandise Financial Planning and SAS Merchandise In-Season Management | Microsoft Windows Server 2008 R2 | 6.5_M1 | 6.5_M1 | 9.4 TS1M2 | 9.4 TS1M2 |
64-bit Enabled AIX | 6.5_M1 | 6.5_M1 | 9.4 TS1M2 | 9.4 TS1M2 | ||
Linux for x64 | 6.5_M1 | 6.5_M1 | 9.4 TS1M2 | 9.4 TS1M2 |